<?php
/**
 * UnauthorizedException.php
 * 文件描述 认证失败错误
 * Created on 2020/8/31 14:09
 * Created by 刘小龙 595929049@qq.com
 */

namespace app\xiangji\exception;


use app\common\helpers\Response;
use think\Exception;
use Throwable;

class UnauthorizedException extends Exception
{
    public function __construct($message = "", $code = Response::HTTP_UNAUTHORIZED, Throwable $previous = null)
    {
        parent::__construct($message, $code, $previous);
    }
}
